Optimal. Leaf size=75 \[ -\frac{a^3 A}{7 x^7}-\frac{a^2 (a B+3 A b)}{6 x^6}-\frac{b^2 (3 a B+A b)}{4 x^4}-\frac{3 a b (a B+A b)}{5 x^5}-\frac{b^3 B}{3 x^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0968201, antiderivative size = 75, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.062 \[ -\frac{a^3 A}{7 x^7}-\frac{a^2 (a B+3 A b)}{6 x^6}-\frac{b^2 (3 a B+A b)}{4 x^4}-\frac{3 a b (a B+A b)}{5 x^5}-\frac{b^3 B}{3 x^3} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^3*(A + B*x))/x^8,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 21.5493, size = 71, normalized size = 0.95 \[ - \frac{A a^{3}}{7 x^{7}} - \frac{B b^{3}}{3 x^{3}} - \frac{a^{2} \left (3 A b + B a\right )}{6 x^{6}} - \frac{3 a b \left (A b + B a\right )}{5 x^{5}} - \frac{b^{2} \left (A b + 3 B a\right )}{4 x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**3*(B*x+A)/x**8,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0325848, size = 69, normalized size = 0.92 \[ -\frac{10 a^3 (6 A+7 B x)+42 a^2 b x (5 A+6 B x)+63 a b^2 x^2 (4 A+5 B x)+35 b^3 x^3 (3 A+4 B x)}{420 x^7} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x)^3*(A + B*x))/x^8,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 66, normalized size = 0.9 \[ -{\frac{A{a}^{3}}{7\,{x}^{7}}}-{\frac{{a}^{2} \left ( 3\,Ab+Ba \right ) }{6\,{x}^{6}}}-{\frac{3\,ab \left ( Ab+Ba \right ) }{5\,{x}^{5}}}-{\frac{{b}^{2} \left ( Ab+3\,Ba \right ) }{4\,{x}^{4}}}-{\frac{B{b}^{3}}{3\,{x}^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^3*(B*x+A)/x^8,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.35388, size = 99, normalized size = 1.32 \[ -\frac{140 \, B b^{3} x^{4} + 60 \, A a^{3} + 105 \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{3} + 252 \,{\left (B a^{2} b + A a b^{2}\right )} x^{2} + 70 \,{\left (B a^{3} + 3 \, A a^{2} b\right )} x}{420 \, x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^3/x^8,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.197446, size = 99, normalized size = 1.32 \[ -\frac{140 \, B b^{3} x^{4} + 60 \, A a^{3} + 105 \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{3} + 252 \,{\left (B a^{2} b + A a b^{2}\right )} x^{2} + 70 \,{\left (B a^{3} + 3 \, A a^{2} b\right )} x}{420 \, x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^3/x^8,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 8.85491, size = 78, normalized size = 1.04 \[ - \frac{60 A a^{3} + 140 B b^{3} x^{4} + x^{3} \left (105 A b^{3} + 315 B a b^{2}\right ) + x^{2} \left (252 A a b^{2} + 252 B a^{2} b\right ) + x \left (210 A a^{2} b + 70 B a^{3}\right )}{420 x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**3*(B*x+A)/x**8,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.245471, size = 101, normalized size = 1.35 \[ -\frac{140 \, B b^{3} x^{4} + 315 \, B a b^{2} x^{3} + 105 \, A b^{3} x^{3} + 252 \, B a^{2} b x^{2} + 252 \, A a b^{2} x^{2} + 70 \, B a^{3} x + 210 \, A a^{2} b x + 60 \, A a^{3}}{420 \, x^{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^3/x^8,x, algorithm="giac")
[Out]